﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EjercicioI
{
    protected abstract class Vehiculo
    {
        protected string matricula;
        protected bool alquilado;

        protected Vehiculo(string matricula, bool alquilado)
        {
            this.matricula = matricula;
            this.alquilado = alquilado;
        }
        abstract void alquilar()
        { }
        abstract void devolver()
        { }
        abstract void showinfo()
        { }
    }
}